home *** CD-ROM | disk | FTP | other *** search
/ Educational Software Cooperative 4 / Educational Software Cooperative 4.iso / midilang / badplay.mpl < prev    next >
Encoding:
Text File  |  1996-02-06  |  984 b   |  80 lines

  1. 19394
  2. #
  3. #
  4. #
  5. #    badplay.mpl
  6. #
  7. #    An bad player that tries to follow you
  8. #           Author           ID               Date
  9. #       ------------    -----------          ---------
  10. #       Serge Sibony    100417,2633          09/14/95
  11. #      
  12. #
  13. # This file is a mpl effect definition used by MidiLang
  14. #    MidiLang can be found at the MidiForum, in the
  15. #         Windows sound media library.
  16. #
  17. # This effect creates a fellow that tries to follow you
  18. # but he's not as good as you :-)
  19. #
  20. #
  21.  
  22. Label Main
  23.  
  24. vel== 0
  25. goto end
  26.  
  27. v+= 1 40
  28. v+=note 1
  29.  
  30. v>vel 1
  31.     v-= 1 100
  32.  
  33. label loop
  34.  
  35. v> 1 0
  36.     goto ok2
  37.  
  38. v+= 1 40
  39. goto loop
  40.  
  41. label ok2
  42. v+=note 2
  43. v+=vel 2
  44.  
  45. v< 2 500
  46.     goto ok
  47.  
  48. note+= 1
  49. v-= 2 100
  50.  
  51. label ok
  52.  
  53. v=v 5 1
  54. v*= 5 5
  55. time+=v 5
  56.  
  57. outmidi
  58.  
  59. vel= 0
  60.  
  61. v=v 5 1
  62. v*= 5 3
  63.  
  64. time+=v 5
  65.  
  66.  
  67. time+= 20
  68.  
  69. outmidi
  70.  
  71. label end
  72.  
  73. End
  74.  
  75. descript an almost real bad player
  76. descript that tries to follow you
  77. descript but he's not so good !!
  78.